<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<link rel="stylesheet" href="${ctx}/css/jquery.contextMenu.css"
	  media="all">
<script src="${ctx}/js/jquery.contextMenu.js"></script>
<script src="${ctx}/js/system/menu/menu_index.js"></script>

<div class="body_center">
	<div class="mds_tree_panel">
		树
		<ul id="tree"></ul>
	</div>
	<div class="mds_tree_relation">
		<form class="layui-form" action="" id="menu_form">
			<div class="hidder_body">
				<input value="0" type="hidden" id="id" name="id">
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label"><font color="red">*</font>菜单名称</label>
				<div class="layui-input-block">
					<input type="text" id="menu_name" name="menu_name" required
						   lay-verify="required" placeholder="输入个中文名称吧" autocomplete="off"
						   class="layui-input">
				</div>
				<label class="layui-form-label"><font color="red">*</font>单选框</label>
				<div class="layui-input-block">
					<input type="radio" name="menu_type" value="1" title="菜单" checked>
					<input type="radio" name="menu_type" value="2" title="按钮">

				</div>
				<div class="layui-form-item" pane>
					<label class="layui-form-label">启用停用状态</label>
					<div class="layui-input-block">
						<input type="checkbox" id="status" checked="checked" name="status"
							   lay-skin="switch" lay-text="启用|禁用">
					</div>
				</div>
			</div>
		</form>
	</div>
</div>